package com.tina.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tina.entity.OpRptProcessModelInforT;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * @author Tina
 * @version 1.0
 * @since 2021/10/15 10:56
 **/
@Mapper
public interface OpRptProcessModelInforMapper extends BaseMapper<OpRptProcessModelInforT> {
    @Select("SELECT * from op_rpt_process_model_infor_t")
    List<OpRptProcessModelInforT> getBloodRelationshipList();

    List<Map<String, Object>> getGraphDownData(@Param("table") String table,@Param("system") String system);
    List<Map<String, Object>> getGraphUpData(@Param("table") String table,@Param("system") String system);
}
